package net.tv90.volunteerserveradmin.model.dto;

import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Pattern;
import lombok.Data;
import org.springframework.validation.annotation.Validated;

@Data
public class UserVerifyDTO {

    @NotNull
    @Pattern(regexp = "^[01]$")
    Byte role;

    @NotNull
    String name;

    @NotNull
    String code;

    @NotNull
    String idCardNumber;
}
